
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import { apiapi,upShop, up  } from "@/https/https.js"
import utils from '@/https/utils.js'
import { toLink } from './https/toLink'
import { loadImage } from './https/constant'
import share from '@/commonjs/share.js'; 
Vue.mixin(share);
Vue.config.productionTip = false

//直接挂载到原型上  通过this.$api直接调用
Vue.prototype.$httpapi = apiapi;
Vue.prototype.$upShop = upShop;
Vue.prototype.$up = up;
Vue.prototype.$utils=utils;
Vue.prototype.$toLink = toLink
Vue.prototype.$tag = 'wx_yonghu'
Vue.prototype.$loadImage = loadImage
App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif
